package com.example.h2;

import org.mybatis.spring.annotation.MapperScan;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * h2数据库案例
 * 参考来源：
 *     https://www.cnblogs.com/april-chen/p/11459322.html
 *     https://blog.csdn.net/luo15242208310/article/details/147148685
 * h2管理页面：http://localhost:8080/h2-console
 */
@MapperScan(basePackages = "com.example.h2.*.dao")//mybatis扫描路径
@SpringBootApplication
public class H2Application {
 
    public static void main(String[] args) {
        SpringApplication.run(H2Application.class, args);
    }

}
